package com.woniuxy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class Attendance {
//编号
    private  Integer attendId;
    //姓名
    private  String attendName;
//上午打卡时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss ",timezone ="GMT+8")
    private Date onWorkAM;
    //上午下班时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss ",timezone ="GMT+8")
    private  Date offWorkAM;
    //下午打卡时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss ",timezone ="GMT+8")
    private  Date onWorkPM;
    //下午下班时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss ",timezone ="GMT+8")
    private  Date offWorkPM;
    //总计工作时间
    private  String recordTime;
//出勤状态
    private  String attendStatus;
}
